<template>
  <div class="content-wrapper">
    <div class="page-content">
      <el-empty description="抱歉，您访问的资源不存在~" :image-size="300">
        <a class="el-button" v-on:click="backToHistory">返回上一页</a>
        <router-link to="/" class="el-button el-button--primary">返回主页</router-link>
      </el-empty>
    </div>
  </div>
</template>

<script>
  export default {
    data() {
      return {};
    },
    methods: {
      backToHistory: function () {
        this.$router.go(-1);
      }
    }
  }
</script>